home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / a_utils / _archvrs / unix / pkzip19 / part01 < prev    next >
Text File  |  1994-02-15  |  62KB  |  1,325 lines

  1. Newsgroups: comp.sources.misc
  2. From: zip-bugs@cs.ucla.edu (Info-ZIP group)
  3. Subject:  v31i093:  zip19 - Info-ZIP portable Zip, version 1.9, Part01/11
  4. Message-ID: <csm-v31i093=zip19.014410@sparky.IMD.Sterling.COM>
  5. X-Md4-Signature: f76cd19976a6931c986e76a891405198
  6. Date: Sun, 23 Aug 1992 06:44:52 GMT
  7. Approved: kent@sparky.imd.sterling.com
  8.  
  9. Submitted-by: zip-bugs@cs.ucla.edu (Info-ZIP group)
  10. Posting-number: Volume 31, Issue 93
  11. Archive-name: zip19/part01
  12. Supersedes: zip: Volume 23, Issue 88-96
  13. Environment: UNIX, VMS, OS/2, MS-DOS, MACINTOSH, WIN-NT, LINUX, MINIX, XOS, !AMIGA, ATARI, symlink, SGI, DEC, Cray, Convex, Amdahl, Sun, PC
  14.  
  15.  ______________________________________________________________________
  16.  
  17.   Zip 1.9 is a compression and file packaging utility.  It is analogous
  18.   NOTE:  Info-ZIP's mailing addresses and ftp site will be changing
  19.   within the next month.  The current e-mail addresses should hold for
  20.   a while via mail-forwarding, but watch for the new addresses in our
  21.   next release.
  22.  ______________________________________________________________________
  23.  
  24.   Zip 1.9 is a compression and file packaging utility.  It is analogous
  25.   to a combination of tar and compress and is compatible with PKZIP 1.93a
  26.   (Phil Katz ZIP) for MSDOS systems.  There is a companion to Zip called
  27.   UnZip (of course) which is being posted concurrently, as are the encryp-
  28.   tion/decryption routines for Zip and UnZip, and a Microsoft Windows add-
  29.   on to UnZip called WizUnZip.
  30.  
  31.   This version of Zip has been ported to a wide array of Unix and other
  32.   mainframes, minis, and micros including VMS, OS/2, Minix, MSDOS, Windows-
  33.   NT, Atari, and Macintosh (the latter two have not been tested recently).
  34.   Although highly compatible with PKware's PKZIP and PKUNZIP utilities of
  35.   MSDOS fame, our primary objective has been one of portability and other-
  36.   than-MSDOS functionality.  Features not found in the PKWare version in-
  37.   clude creation of zip files in a pipe or on a device; VMS and OS/2 ex-
  38.   tended file attributes; conversion from Unix to MSDOS text file format;
  39.   the ZipSplit and ZipNote utilities; and, of course, the ability to run
  40.   on most of your favorite operating systems.  Plus it's free. :-)
  41.  
  42. ------------
  43. #! /bin/sh
  44. # This is a shell archive.  Remove anything before this line, then feed it
  45. # into a shell via "sh file" or similar.  To overwrite existing files,
  46. # type "sh file -c".
  47. # The tool that generated this appeared in the comp.sources.unix newsgroup;
  48. # send mail to comp-sources-unix@uunet.uu.net if you want that tool.
  49. # Contents:  atari history mac msdos nt os2 tailor.h vms
  50. # Wrapped by kent@sparky on Sun Aug 23 01:00:42 1992
  51. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  52. echo If this archive is complete, you will see the following message:
  53. echo '          "shar: End of archive 1 (of 11)."'
  54. if test ! -d 'atari' ; then
  55.     echo shar: Creating directory \"'atari'\"
  56.     mkdir 'atari'
  57. fi
  58. if test -f 'history' -a "${1}" != "-c" ; then 
  59.   echo shar: Will not clobber existing file \"'history'\"
  60. else
  61.   echo shar: Extracting \"'history'\" \(49244 characters\)
  62.   sed "s/^X//" >'history' <<'END_OF_FILE'
  63. XNote, this history contains mail addresses and ftp locations that no longer
  64. Xexist, such as addresses at wsmr-simtel20 and directory names containing
  65. Xw8sdz, among others.  For problems, the correct email address is
  66. Xzip-bugs@cs.ucla.edu.
  67. X
  68. X------------------------ Nov  7  1990   version 0.0 ------------------------
  69. X------------------------ Nov  8  1990   version 0.1 ------------------------
  70. X------------------------ Nov 12  1990   version 0.2 ------------------------
  71. X------------------------ Nov 14  1990   version 0.3 ------------------------
  72. XThank you for your comments.  Here is Zip 0.3 with almost all of that fixed.
  73. XThe changes include:
  74. X
  75. X1. Put \n\ for newlines in long strings (everyone had this problem).
  76. X2. Wrote my own bsearch (called search---different args).
  77. X3. Wrote my own timelocal (called invlocal), used whether STDC or not.
  78. X   (Note to Greg: look at the code---I found a simple way to do it.)
  79. X4. -m now deletes empty directories also.
  80. X5. Changed crc.c to util.c and put search() in util.c.
  81. X6. Changed "void *" to "voidp *" and made voidp void for STDC, else char.
  82. X7. Removed -a option.
  83. X8. Some minor changes to zip.doc.
  84. X
  85. XI did not do anything about Cliff Manis's problem with DIR not being
  86. Xdefined.  DIR should have been defined in sys/dir.h.  If it wasn't, then
  87. Xthere's something wrong with dir.h, or it is missing, or the opendir, etc.
  88. Xfunctions are missing.  I don't really want to think about what to do for
  89. Xthe latter possibility.
  90. X
  91. XNUnzip 3.99 does not appear to be Unix-ready.  It fails for file names longer
  92. Xthan 12 characters (Segmentation fault), cannot find explicit names that
  93. Xdo not contain a dot, and does not notice the Unix identifier (which should
  94. Xswitch off name to lower-case mapping).
  95. X
  96. X------------------------ Nov 20  1990   version 0.4 ------------------------
  97. XYo Zippers,
  98. X
  99. XHere is a first attempt at a Zip intended to work on System V.  Try using
  100. X"make sysv" for such systems.  I also included replacements for memset()
  101. Xand memcmp() by Bill Davidsen and James Dugal for systems without those.
  102. XUse "make old" to include those routines.  Sun's use getdents() like Sys V,
  103. Xeven though it's BSD, so use "make sun".  For others, try just "make".
  104. X
  105. XWhen using "make" a second time with a different request, it's best to erase
  106. Xall the .o files to force recompiling everything.
  107. X
  108. XWhat follows are the changes I made and some things to try if you get it
  109. Xcompiled.  Have fun.
  110. X
  111. XMark
  112. X
  113. X
  114. XChanges from Zip 0.3 to Zip 0.4:
  115. X
  116. X1.  Changed third arg of search() to size_t to make lint happier.
  117. X2.  Replaced zip.doc with a man page, zip.1 (raw) and zip.man (formatted).
  118. X3.  rename() replaced with link() and unlink().
  119. X4.  Fixed vem in central header and added REVISION and REVDATE #define's
  120. X    to zip.h.  (Didn't read Phil's appnote.txt carefully enough there.)
  121. X5.  Removed prototypes except for development host (NeXT).  (They're only
  122. X    there for my benefit anyway---they should not affect the resulting
  123. X    code.  Consider them some meager documentation.)
  124. X6.  Changed rindex() to strrchr().
  125. X7.  Improved behavior on a write failure when -b is used.
  126. X8.  Added Bill Davidsen's and James Dugal's memset(), memcpy(), and
  127. X    memcmp() routines under the trusty ZMEM #define.
  128. X9.  Check that zip file is writeable before doing any real work.
  129. X10. Added #ifdef REGEX to use regcmp(), regex() instead of re_comp(),
  130. X    re_exec().  (We'll see if this works.)
  131. X11. Replaced opendir(), readdir(), closedir() with my own opend(), readd(),
  132. X    and closed() routines that use getdirentries() on BSD and getdents() on
  133. X    System V (I hope) and Sun's.  An #ifdef DIRENT selects getdents().
  134. X12. zip.h no longer #includes string.h, instead defining the string
  135. X    functions used explicitly.
  136. X
  137. X
  138. XIf you get Zip 0.4 to compile, here are some things to test:
  139. X
  140. X1.  Try zipping up some stuff, of course.  Use all the options that are
  141. X    implemented.  Especially try -rp and -rpm on a directory tree (use
  142. X    *test* files and directories, of course).
  143. X2.  Naturally check with unzip -t, but also check with "zip xxx" where
  144. X    xxx.zip is the zip file.  This should say "nothing to do", but if it
  145. X    says "error in zip file structure", there's a problem.
  146. X3.  After zipping, check that there are no $Z* files leftover.
  147. X4.  Try using -b, specifying a path on another device.  Check for $Z*'s.
  148. X5.  Try -d and a regular expression (like \*.o) on a zip file.
  149. X6.  And I'm interested in timing---try it on a 500K or so text file.
  150. X
  151. X------------------------ Nov 27  1990   version 0.5 ------------------------
  152. XHail fellow zippers,
  153. X
  154. XHere's Zip 0.5.  The biggie is it now includes implosion, courtesy of Rich
  155. XWales.  Even as we speak, he is working on new algorithms for implode that
  156. Xpromise to be significantly faster.  He might even get a paper out of it ...
  157. X
  158. XYou can use the -s option (shrink only) when testing to save a little time,
  159. Xbut also try it normally to test implosion (if you test with text files
  160. Xof reasonable length, implosion will be chosen for most of them).  Also, for
  161. Xspeed testing of implosion, use -i to not waste time trying to shrink.
  162. X
  163. XIncluding implosion about doubles the size of zipnn.tar.Z, so I would like
  164. Xsome input on distributing subsequent versions.  Would y'all like to keep
  165. Xon getting the uuencoded version via mail, or would you prefer a notice
  166. Xabout availability via anonymous ftp on simtel20.army.mil in <w8sdz.zip>?
  167. X(I have been sending the previous versions to Keith to put there, and will
  168. Xcontinue to do so.  I do not know what the lag time is for him to move it
  169. Xthere.)
  170. X
  171. XThe other important change is that this is another attempt at getting the
  172. Xdirectory access routines working on all systems.  Read the installation
  173. Xpart of the manual page (zip.man).  And if you feel like, read the whole
  174. Xthing.  I'm also taking suggestions for and bugs in the documentation.
  175. X
  176. XThe differences from Zip 0.4 include:
  177. X
  178. X1. Changed all occurences of "size_t" to "extent" and typedef'ed extent
  179. X   to size_t (after an #include <stddef.h>) for ANSI C, or unsigned int
  180. X   otherwise.  If anyone finds that they have a non ANSI C, that size_t
  181. X   is defined, and that it is not the size of the compiler's int, then
  182. X   please let me know.
  183. X2. Changed help() to put the help text in a static array of strings and
  184. X   then printf() for each line.  Some compilers barfed on the long
  185. X   string.  Suggested by davidsen@crdos1.crd.ge.com.
  186. X3. Added Rich Wales' implode routines, made their inclusion the default
  187. X   (changed #ifdef IMPLODE to #ifndef NOIMPLODE).
  188. X4. Put "extern int errno;" in unixfile.c (redundant extern's should be ok).
  189. X5. Minor changes to the man page (zip.1 and zip.man).
  190. X6. Added warnings for names given on the command line that are not matched.
  191. X   Lack pointed out by grimesg@sj.ATE.SLB.COM (George).
  192. X7. Changed back to opendir(), etc. on BSD systems.
  193. X8. Added NDIR #define for HPUX to #include <ndir.h> instead of <sys/dir.h>.
  194. X9. Redid Makefile, adding next (use shared library), sysvpw (System V's
  195. X   that require linking the libPW library for regex routines), and hpux
  196. X   (see #8 above).
  197. X
  198. XAs usual, report problems to info-zip@wsmr-simtel20.army.mil.  If you wish,
  199. Xyou can, in addition, send the same report to me (madler@piglet.caltech.edu)
  200. Xor Rich (wales@cs.ucla.edu) if the problem is with implosion (i* files) for
  201. Xquicker reponse.
  202. X
  203. Xyour humble servant,
  204. XMark Adler
  205. X------------------------ Dec  7  1990   version 0.6 ------------------------
  206. XGreetings and Felicitations Honorable Zip Compatriots,
  207. X
  208. XI have uploaded Zip 0.6, which incorporates most of your helpful comments,
  209. Xto Simtel20.Army.Mil, and it should evenually end up in <W8SDZ.ZIP> as
  210. XZIP06.TAR-Z.  The most significant change is the addition of encryption
  211. Xboth as the -e option in Zip, and a new program, ZipCloak, that encrypts
  212. Xand decrypts zip entries.  This surely adds some new portability problems,
  213. Xdue to the getp() routine which reads a password from the terminal with no
  214. Xechoing.  We'll see how well this flies ...
  215. X
  216. XIf someone wants to PKZIP up the tar.Z file, please do so.  I didn't zip
  217. Xit up myself because a) I'm lazy, and b) PKZIP can compress it better
  218. Xanyhow, and I don't have a PC.
  219. X
  220. XAlso, there is an EXPORT symbol used to remove encryption, so I can make
  221. Xan export version that does not have -e or ZipCloak.  This version will
  222. Xsimply be missing a few source files and have a different Makefile.
  223. X
  224. XI also added a few systems to the Makefile, and made some other changes to
  225. Xit based on all your detailed comments.  If it still works after all that,
  226. XI'll be amazed.
  227. X
  228. XThose and other changes from 0.5 to 0.6 are detailed at the end of this note.
  229. X
  230. XI have not addressed the portability problem with the implode routines,
  231. Xsince that is Rich's domain.  I have no idea what is causing it.  (For those
  232. Xwho don't know, one system produced remarkable 90% compression rates with
  233. Ximplode, but alas, it is a bug.)
  234. X
  235. XOne fellow complained that zipping up the README file results in a zip file
  236. Xthat is larger than the original, even though Zip claims it compressed it.
  237. XWell, it did compress it, but the ZIP file format has an overhead of
  238. X76+2*N bytes per file+22 bytes, where N is the length of the file name.
  239. XAnd that's without comments or "extra" information.  So, a zip file with a
  240. Xsingle file whose name has six characters has an overhead of 110 bytes.
  241. XREADME gets shrunk by 16% from 274 bytes to 230 bytes, resulting in a total
  242. Xzip file size of 340 bytes---larger than the original file (274 bytes).
  243. XThe moral is don't expect zip to compress a single small file.  The other
  244. Xmoral is use unzip -v to see the compression.
  245. X
  246. XSomeone else asked about multi-disk zip files.  I'm not sure I believe in
  247. Xthose, since PKZIP and PKUNZIP do not appear to suppport them (though it is
  248. Xpart of the ZIP file definition in APPNOTE.TXT).  What I was planning on
  249. Xdoing for that case was to write a ZipSplit program that would take a large
  250. Xzip file and try to optimally split it into the fewest number of zip files
  251. Xthat are all less than the specified size.  Each would be a complete, stand
  252. Xalone zip file---not part of a single, multi-disk zip file.  There would
  253. Xalso be a ZipMerge program.
  254. X
  255. XThis is the version of Zip that will live in infamy (note the revision date).
  256. XOf course, some current Presidents of the United States think that should be
  257. XSeptember 7th, but I won't name any names.
  258. X
  259. XI am going on vacation for about two weeks, so I expect to find many new
  260. Xproblems reported upon my return.
  261. X
  262. XAnd lastly, for my Holiday Greetings: Party On Dudes.
  263. X
  264. XMark Adler
  265. Xmadler@piglet.caltech.edu
  266. X
  267. X
  268. XHere are the changes from Zip 0.5 to Zip 0.6:
  269. X
  270. X1.  Minor documentation changes (zip.1 and zip.man).
  271. X2.  Fixed an embarrasing lack of recursion in opend/readd/closed functions
  272. X    that only existed in 0.5.
  273. X3.  Moved $(LDFLAGS) to end of the linking command line in Makefile.
  274. X4.  Added make dnix for DNIX 5.2, 5.3 not using optimization (no -O).
  275. X5.  Wrote ZipCloak for encryption and decryption.
  276. X6.  Rich changed the output routines of implode to use zfwrite and zputc to
  277. X    provide hooks for encryption (defined in crypt.h).  Also removed
  278. X    function prototypes unless PROTO defined.
  279. X7.  Added encryption (-e) to Zip.
  280. X8.  Added make pyramid (use rindex() instead of strrchr()).
  281. X9.  Changed make to $(MAKE) and cc to $(CC) in Makefile.
  282. X10. Took out strip in Makefile.
  283. X11. Changed year from 1991 to 1990.  (How'd *that* get in there?  Of course,
  284. X    it's not as bad as when I wrote a check the other day and dated it 1977.
  285. X    I think my brain cell isn't working as well as it used to.)
  286. X12. Added make cray (use scc instead of cc).
  287. X13. Added make amdahl (use system() instead of rmdir()).
  288. X14. Added entry of one-line comments for added files (-c).
  289. X15. Put comment delimiters around name following #endif's in Rich's code.
  290. X
  291. X------------------------ Feb 13  1991   version 0.7 ------------------------
  292. XFellow stuck zippers,
  293. X
  294. XWell folks, it's been a while since 0.6. so there have been a lot of
  295. Xchanges on the way to 0.7.  The exhaustive listing is below, but here are
  296. Xsome highlights ...
  297. X
  298. XImplode now (appears) to be PKUNZIP compatible.  There were many odd
  299. Xlittle requirements implosed by the coding of PKUNZIP that were obtained
  300. Xfrom Phil Katz and associates.  Now that Rich has that working, he will
  301. Xlikely be working on much faster string matching routines to speed up
  302. Ximplode.
  303. X
  304. XUser interrupts (control-C or kill) are now caught and the temporary files
  305. Xare deleted, making for a clean getaway.
  306. X
  307. XSelf-extracting zip files for MSDOS can now be processed, with the
  308. Xextensions zip, ZIP, exe, or EXE.  This allows you to make self-extracting
  309. Xzip files for MSDOS by taking an existing one (like PKZ110.EXE) and
  310. Xdeleting all the entries to get a prototype self-extracting zip file that
  311. Xcan be copied and added to.  Of course, you should only do this if you are
  312. Xa registered user of PKZIP.  Note that if the file does not end in .zip,
  313. Xyou have to give the full name.
  314. X
  315. XI have relaxed some of the restrictions on zip files to allow processing
  316. Xones with "authenticity verification" (applied by the PUTAV program that
  317. Xcomes with PKZIP).  Of course, the authenticity no longer checks out if
  318. Xyou muck with the file, but at least you can muck with it now.
  319. X
  320. XThe Makefile has been considerably simplified, thanks to suggestions from
  321. XJean-Loup Gailly.  Also, I wrote my own sh expression matcher, eliminating
  322. Xthe regular expression hassles, and the REGEX symbol and -lPW options in
  323. Xthe Makefile.
  324. X
  325. XMany, many cosmetic changes, the most dangerous of which was turning on
  326. Xprototypes again in the hopes we can get them to work.  If they cause you
  327. Xproblems, record the problems (for me), and then add a -DNOPROTO to the
  328. Xappropriate line in the Makefile and try again.
  329. X
  330. XThis version now compiles under Microsoft C 5.1 and Turbo C++ 1.0, with
  331. Xmuch thanks to Jean-Loup Gailly.  I say "compiles" and not "works" because
  332. XI have not thoroughly tested it.  It does work, but there may be errors in
  333. Xthe port as well as errors in the design.  By the latter I mean that there
  334. Xmay be some disagreement over what you expect it to do and what it does,
  335. Xespecially with regards to upper and lower case names and wildcard
  336. Xpatterns.  Also, the implode routines do not yet work under MSDOS, so the
  337. Xcompilations are done using NOIMPLODE.  There are two dumb batch files to
  338. Xdo the compile: doturboc.bat and domsc.bat.  If someone would like to
  339. Xwrite make files for the make utilities that come with those languages,
  340. Xplease be my guest.  I'm just too lazy.  However, I would probably resist
  341. Xincluding make files that require a make utility that does not come with
  342. Xthose languages, be it commercial, shareware, or free.
  343. X
  344. XThere are two new programs: ZipSplit and Ship.  ZipSplit tries to split a
  345. Xbig zip file into the smallest number of zip files less than a specified
  346. Xsize.  This is to aid in using zip to backup to floppies.  It has the
  347. Xlimitation that it cannot break up an entry in a zip file, since it makes
  348. Xcomplete, standalone zip files.  This means if any entry is larger than
  349. Xthe specified size (plus some overhead), zipsplit will give up and not do
  350. Xthe split.  It does *not* implement the multi-disk zip file format implied
  351. Xin APPNOTE.TXT.  ZipSplit will optionally write an index file and deduct
  352. Xthe size of that file from the first zip file so both will fit on the
  353. Xfirst disk.
  354. X
  355. XShip is a fixed-up version of a program I have been using myself for some
  356. Xtime in place of uuencode/uudecode.  It's purpose is to facilitate sending
  357. Xzip files through the mail.  It uses a more efficient coding scheme than
  358. Xuuencode (four bytes per five characters instead of three bytes per four
  359. Xcharacters) and includes a crc at the end of each file to check the
  360. Xveracity what was received.  It can split its output to a specified size
  361. Xand recombine it automatically at the other end, verifying the sequence.
  362. XIt can also mail the parts to a specified address, with subject lines
  363. Xidentifying the parts, instead of making a bunch of files that you're just
  364. Xgoing to mail and delete anyway.  Example:
  365. X
  366. X     % ship -500 -m saddam@pickle.iq README zip07.zip
  367. X     README shipped
  368. X     zip07.zip shipped
  369. X     files part0001..part0004 mailed
  370. X
  371. Xwill mail README and zip07.zip together in four chunks of 500 or fewer
  372. Xlines each.  At the other end, Saddam can save the parts into the files
  373. Xnamed in the subject lines (part0001..part0004), and then do:
  374. X
  375. X     % ship -u part*
  376. X     README received
  377. X     zip07.zip received
  378. X
  379. XFor now, zip.1 (and zip.doc) are incomplete as far as MSDOS goes.  I'll
  380. Xput off doing that until the MSDOS version has stabilized.  Likewise, I
  381. Xhave put off writing zipcloak.1, zipsplit.1, and ship.1 for the same
  382. Xreason.
  383. X
  384. XThere are, of course, all the little changes that fix bugs (what are
  385. Xthose?), make the Makefile work on more systems, documentation, and,
  386. Xfor the alert reader, an undocumented option ...
  387. X
  388. XAs usual, send reports to info-zip@wsmr-simtel20.army.mil, so everyone
  389. Xcan get a chuckle out of whatever new bugs I've introduced.
  390. X
  391. XMark Adler
  392. Xmadler@pooh.caltech.edu
  393. X
  394. X
  395. XChanges from release 0.6 to release 0.7:
  396. X
  397. X1.  Changed Makefile to use mv instead of -o on compiles.
  398. X2.  Added MAKE = make to Makefile.
  399. X3.  Catch user interrupt or termination and delete temporary files.
  400. X4.  Allow general purpose flags in local and central headers to differ in
  401. X    the "reserved" bits.  Keep both for copying zip entries verbatim.
  402. X5.  Removed prototype for closedir--return value not used and inconsistent
  403. X    across systems.
  404. X6.  Wrote ZipSplit to break a large zip file into the smallest number of
  405. X    zip files less than a specified size.  Run zipsplit with no arguments
  406. X    to see the command help.
  407. X7.  Put error messages in globals.c to be common across zip, zipcloak, and
  408. X    zipsplit.  Use #define's in zip.h for error numbers.
  409. X8.  Changed getp() to open a new file for the terminal device, and added
  410. X    the echon() function to turn echoing back on when interrupted at
  411. X    password prompt.
  412. X9.  Added warn()'s to distinguish various zip file structure errors.
  413. X10. Allow "extra" fields in local and central headers to differ.
  414. X11. Fixed percent compression calculation to work for very large files.
  415. X12. Included the program (makecrc.c) that generates the CRC table.
  416. X    makecrc.c is not compiled or run by the Makefile, but is present for
  417. X    completeness.
  418. X13. Added an undocumented (except for here) option, -v, to zip that checks
  419. X    for "oddities" in the zip file structure and points them out if found
  420. X    (but continues processing).
  421. X14. Put prototypes in crypt.h inside #ifdef NeXT to avoid redefinition
  422. X    problems with other compilers.
  423. X15. Added "make zilog" for Zilog S8000 running Zeus 3.21.
  424. X16. Minor changes to the manual page (zip.1 and zip.doc).
  425. X17. Fixed bug in replace() (manifested by -b option).
  426. X18. readzipfile() now also checks the central directory start and size in
  427. X    the end of central directory header.
  428. X19. Allow modification of self-extracting zip files (exe instead of zip).
  429. X20. Allow .ZIP as valid suffix as well as .zip (also .EXE and .exe).
  430. X21. Cleaned up malloc usage, free'd everything malloc'ed.
  431. X22. fclose'd all fopen'ed files explicitly.
  432. X23. Corrected assignment of one ftell() result from an int to a long.
  433. X24. Considerably simplified Makefile, based on Jean-Loup Gailly's
  434. X    suggestions.
  435. X25. Renamed unixfile.c to fileio.c in anticipation of non-unix support.
  436. X26. Removed const's (pesky little buggers caused too many problems).
  437. X27. Wrote my own shell expression compare routine, took REGEX and -lPW's
  438. X    out of Makefile, which removed the sysvpw make option.
  439. X28. Added tempname() prototype to crypt.h for the implode routines to use.
  440. X29. Trying string.h for prototypes of string functions if __STDC__
  441. X    defined, which is what unzip.h does.
  442. X30. Turned prototypes on if __STDC__ defined (we'll try this one more
  443. X    time).  They can be turned off using NOPROTO.
  444. X31. Improved source documentation.
  445. X32. Changed prototype of open in fileio.c to OF((char *, int, ...)).
  446. X33. Removed "local" from prototypes of main() (after all, it's *not*
  447. X    local).
  448. X34. Wrote Ship program to supplant uuencode--slightly more efficient, has
  449. X    error checking, file splitting, automatic mailing, other features.
  450. X    Ship currently uses the command:
  451. X        /usr/ucb/mail -s subject < tempfile
  452. X    to send mail.  Please let me know what works for your system.  Note
  453. X    that I want to be able to specify a subject line.
  454. X35. Ported to MSDOS Microsoft C 5.1, based on Jean-Loup Gailly's work.
  455. X36. Fixed add/update bug when -p not used.
  456. X37. Handle lower case conversion and devices (e.g. C:) for MSDOS.
  457. X38. Indented the #ifdef/#ifndef constructs that do not contain function
  458. X    definitions, to improve the readability somewhat.
  459. X39. Cleaned up error handling.  Now use perror() for i/o errors.  Put the
  460. X    errors and messages in ziperr.h.
  461. X40. Ported to MSDOS Turbo C++ 1.0.
  462. X41. Implemented wild card expansion on the command line for MSDOS and
  463. X    handle MSDOS matching (*.* == all, not *).
  464. X42. Changed version required to unzip to 11 (1.10) since the implode
  465. X    routines can procude an overlapping match one away from the end of the
  466. X    window (PKUNZIP 1.00 requires two away from the end).
  467. X43. Changed old next make option to next10 (for version 1.0) and added a
  468. X    new next make option for 2.0 (just called next) that uses the -object
  469. X    linking option for smaller executables.
  470. X44. Added -z option to take a multi-line zip file comment from stdin.
  471. X45. Changed temporary names from $ZXXXXXX to _ZXXXXXX, where XXXXXX is
  472. X    filled in by mktemp().  This avoids problems with "rm $Z*" in sh.
  473. X46. Got new implode routines from Rich that are (hopefully) PKUNZIP
  474. X    compatible.
  475. X47. When -b is not specified, put the temporary files in the same
  476. X    directory (i.e. the same device) that the zip file is (or will be) in.
  477. X48. Added doturboc.bat and domsc.bat files to compile for Turbo C++ 1.0
  478. X    and Microsoft C 5.1.  I am interested in successes and failures with
  479. X    other versions of those compilers.  In this version, the implode
  480. X    routines do not work under MSDOS.
  481. X------------------------ May  6  1991   version 0.8 ------------------------
  482. XBuenos Dias Amigos,
  483. X
  484. XHeer ees dee Cinco de Mayo reeleese of seep, aka Zip 0.8.  The changes
  485. Xfrom 0.7 are in the (long) list below, but here are some highlights:
  486. Xfaster implode, faster shrink, first attempt at a VMS version (thanks
  487. Xto Cave Newt), and a new program, ZipNote, to aid in editing zip file
  488. Xcomments.  To compile under VMS, do an "@makevms.com".  To compile using
  489. XMircosoft C do a "make makefile.msc".  To compile using Borland (Turbo)
  490. XC, do a "make -fmakefile.bor".  Please try to break any or all of these
  491. Xprograms in every conceivable way--we're getting close a public release.
  492. XThank yew fer your support.
  493. X
  494. XMark Adler
  495. Xmadler@pooh.caltech.edu
  496. X
  497. XChanges from 0.7 to 0.8:
  498. X
  499. X1.  Added the -n option to prevent compressing already compressed files.
  500. X    Documented -n in zip.1.
  501. X2.  Check the length of the compressed data in zipup() in case implode or
  502. X    shrink has a bug.
  503. X3.  Fixed -v option to not complain about needing PKUNZIP 1.1.
  504. X4.  Added report of store/shrink/implode sizes when -v (verbose) used.
  505. X5.  Put in Rich's patch to fix 100% implosion bug.
  506. X6.  Fixed -i bug.
  507. X7.  Made changes to im_ctree.c and implode.c to (hopefully) make it work
  508. X    under MSDOS.  (Jean-Loup said declare topmaxvals and botmaxvals as
  509. X    U_INT in im_ctree.c, and use MSDOS, not __MSDOS__ in implode.c.)
  510. X8   Added implode routine compilation to domsc.bat and doturboc.bat.
  511. X9.  Replaced FILENAME_MAX with FNMAX, which is now always 1024.  (It seems
  512. X    FILENAME_MAX is incorrectly set to 14 on some System V Unixii.)
  513. X10. Changed BEST to -1 so it is different from STORE (=0).  Redid some of
  514. X    the method logic in zipup().
  515. X11. Changed wb+ to w+b in implode.c.
  516. X12. Removed "nothing to do" error for -u and -f.
  517. X13. Zip source distributions will now have tabs removed, except for
  518. X    Makefile and Makefile.exp (no feelthy tabs rule).
  519. X14. Changed zip error on open failure to a warning.  This accounts for
  520. X    files that do not have read permission or are locked, and files
  521. X    deleted during the zip.  For entries being updated, the old entry is
  522. X    copied over instead.  This change had the side effect of removing the
  523. X    zipskip() routine.
  524. X15. Removed OBJC dependencies in Makefile.exp (didn't belong).
  525. X16. Removed strip from Makefile, instead using the -s link option.
  526. X17. Fixed -um and -fm to delete files whose entry's times were checked in
  527. X    the archive.
  528. X18. Put portability stuff common to zip.h and crypt.h into tailor.h.
  529. X19. Added mark tracing to -v (for debugging).
  530. X20. Changed name and zname logic--an external name is always converted
  531. X    into an internal zname, and vice-versa.  zname is now always
  532. X    malloc'ed.
  533. X21. Fixed -z to use CRLF between lines (for PKZIP) and have no newline
  534. X    after the last (or only) line.
  535. X22. Added clean to Makefile (deletes *.o, zip, zipcloak, zipsplit, ship).
  536. X23. Replaced LDFLAGS with LFLAGS1 and LFLAGS2 in Makefile (splits link
  537. X    options before and after object files as in unzip).
  538. X24. Added scodos to Makefile (from Bill Davidsen).
  539. X25. Included stdio.h in tailor.h--removed stdio.h from zip.h and
  540. X    implode.h.
  541. X26. Do not include stddef.h if M_XENIX defined.
  542. X27. Cast the arguments of all free() calls to (voidp *).
  543. X28. Added casts to char * for memset() and qsort() args in zipsplit.c.
  544. X29. Changed implode.h to define malloc and str* properly.
  545. X30. Fixed invlocal() to handle integer overflow correctly, as well as
  546. X    reliably across compilers.
  547. X31. Got new implode.h from Rich with fix #29 above.  Removed stdio.h
  548. X    include.
  549. X32. Commented out the abort() calls in im_ctree.c.
  550. X33. -ee requests a verification of the encryption password.
  551. X34. malloc and free tempath.
  552. X35. Documented -, SCO, and scodos in zip.1, and - in help().
  553. X36. Added revision.h for Zip revision number and date.
  554. X37. -u and -f with no arguments now (both) freshen the entire archive.
  555. X38. Use /Oait instead of /Ox for MSC to avoid loop optimization (buggy on
  556. X    5.1, and sometimes even crashes compiler!).
  557. X39. Added ! (reverse) range matching to shmatch(), and early abort on '*'
  558. X    failures (speeds up pathological patterns).  Cleaned up '\' (escape)
  559. X    handling.
  560. X40. Changed '!' in ship to '{' (some EBCDIC translations do not include
  561. X    !).  However, unship (ship -u) still understands '!'.  Also added the
  562. X    -v option of ship to print out the version and revision date.  Also
  563. X    now refuse to overwrite an existing file when unshipping (ship -u),
  564. X    but there is a -o option to overwrite anyway.
  565. X41. Added a "fast" mode to ship using hard-arithmetic coding that is
  566. X    nearly as efficient as base 85 coding, but much faster on 16-bit
  567. X    machines (base 85 coding uses 32 bit multiplication and division).
  568. X42. Put tailor.h back in ship.c, so that ship.c can stand on its own.
  569. X43. Made -p the default, and added a new option, -j to do the opposite
  570. X    (junk directory names).  -p is still there but does nothing, so as to
  571. X    avoid annoying PKZIP users.  Changed documentation and help()
  572. X    accordingly.
  573. X44. If -j is used, and two files are to be added with the same name, then
  574. X    zip exits with an error.
  575. X45. Wrote ZipNote for editing zipfile comments.  Just do zipnote for
  576. X    usage.
  577. X46. Replaced Rich's im_lmat.c with a new one from Jean-Loup.  Improves the
  578. X    speed of implode by a factor of two, and even more for very large
  579. X    files.
  580. X47. Reduced the execution time of shrink by 33% simply by moving the code
  581. X    around (eliminated some unnecessary calls, moved some tests).
  582. X    Shrink's execution time is now about 50% more than compress (it used
  583. X    to take over twice as long).  Hash tables for shrink are still
  584. X    intended for a future release.
  585. X48. VMS mods from Greg: replace() unlinks only after copy, changed
  586. X    delete() to destroy(), added code for deletedir(), use creation time
  587. X    instead of modification time, warn if stamp() attempted, changed
  588. X    includes, make link rename and unlink delete, added findfirst,
  589. X    findnext stuff, added wild() for VMS, modified newname(), procname().
  590. X49. Implemented internal<-->external name conversions for MSDOS and VMS.
  591. X50. For VMS matching, changed ? to %, removed bracketed ranges.
  592. X51. Added makevms.com, stolen from Unzip (vms_make.com).
  593. X52. Implemented -k (force the zip file to look like it was made by PKZIP).
  594. X53. Removed implode for VMS (it crashes--haven't tracked down where).
  595. X54. Got Jean-Loup's makefile.dos working for MSC 5.1 (makefile.msc) and
  596. X    Turbo C++ 1.0 (makefile.bor).
  597. X------------------------ Jul 11  1991   version 0.9 ------------------------
  598. XHey gang,
  599. X
  600. XHere is our very-nearly-ready-to-release version of Zip.  There will be no
  601. Xfeatures added or changed from 0.9 to 1.0--only bugs fixed.  I hope that
  602. Xwe can get 1.0 out pretty quickly then.  This is really your last chance to
  603. Xfind bugs before it goes out, so please, please test all the programs as
  604. Xmuch as you can.  Try all the features, if possible, and perhaps try to
  605. Xthink of ways to break the programs.  Also, and this is very important, read
  606. Xthe documentation in zip.doc and "debug" that too.  I already know that it
  607. Xis not complete in 0.9, but please send any comments about errors, omissions,
  608. Xformat, or whatever to Info-ZIP, even if they seem obvious.
  609. X
  610. XThe highlights of the changes from 0.8 to 0.9 are: faster, slicker implode;
  611. Xoperation in small model on MSDOS for speed; a new temporary file interface
  612. Xfor faster operation on small files; some shrink improvements; and some new
  613. Xoptions (-y, -g, -q).  Also, ship has been enhanced in several ways, not the
  614. Xleast of which is a help option (-h).
  615. X
  616. XHave fun.
  617. X
  618. XMark Adler
  619. Xmadler@tybalt.caltech.edu
  620. X
  621. X
  622. XChanges from 0.8 to 0.9:
  623. X
  624. X1.  Removed the "not implemented yet" note in help() for -k (it *is*
  625. X    implemented now).  Removed from bug list in zip.1 too.
  626. X2.  Fixed Turbo C implode bug.
  627. X3.  Added /link /e in makefile.msc for ship.c.
  628. X4.  Made handler() in zipnote.c the same as handler() in zipsplit.c.
  629. X5.  Added -y option in Unix to store symbolic links as such.  (We need
  630. X    Unzip to be aware of symbolic links and use symlink() to recreate them.)
  631. X6.  Ignore control characters in unship input.
  632. X7.  Use prototypes and ANSI libraries if MSDOS.  (Used to check for Turbo C,
  633. X    but Microsoft C 6.0 also does not define __STDC__ unless strict ANSI
  634. X    is requested.)
  635. X8.  Added mod to ct_fsort() from Rich that should remove any qsort()
  636. X    dependencies in implode output.
  637. X9.  Removed some 32/16-bit prejudices in util.c and crypt.c that affect
  638. X    64-bit integer (short, int, and long) machines (Cray).
  639. X10. Added System V MAILX option to ship.c to use the mailx command.  This
  640. X    is automatically activated by DIRENT if ship is compiled by the zip
  641. X    makefile.
  642. X11. Added patches from Greg Roelofs for echo control on Cray and Amdahl.
  643. X    The patch uses termio.h and ioctl(), and is assumed for all System V,
  644. X    not just those (we'll see how this flies).
  645. X12. Changed -Ox to -Oacegit -FPi87 in makefile.msc.  Added /nologo to link.
  646. X13. Applied J-L's 082 mods (Sinatra style): select 4K window for < 5.5K,
  647. X    8K window for >= 5.5K files (just like PK does); various im_ctree.c
  648. X    mods verbatim (except for the treename warning, which I did differently);
  649. X    various im_lmat.c mods verbatim (except macros are done the ugly portable
  650. X    way); farmalloc'ed in shrink.c; changed makefile.msc and makefile.bor to
  651. X    use small model; added J-L to zip.1 acknowledgements (oops).
  652. X14. Moved struct zlist's and struct flist's to far storage (needed by above
  653. X    mods).  Unfortunately, I can't move the names and other things pointed to
  654. X    by those structures into the far space, since they are arguments to
  655. X    library functions like strcmp() and fwrite().
  656. X15. Changed zipup() to both shrink and implode only on files smaller than
  657. X    BSZ.  Also in that case, free up shrink data structures before allocating
  658. X    the implode data structures.  Changed from fopen() to open() except for
  659. X    VMS.
  660. X16. Fixed bug in dosmatch() to free malloc'ed space.
  661. X17. MINIX mods (do not need minix make option): call tempname() with a unique
  662. X    character (MINIX mktemp() flawed); defined S_IWRITE as S_IWUSR if S_IWUSR
  663. X    defined; removed explicit signal dereference.
  664. X18. Fixed bug in unship when used as a filter with no args.
  665. X19. Changed getnam() to not use static storage.
  666. X20. Copy permissions from old to new zip file (zip, zipcloak, zipnote).
  667. X21. Added patches for AT&T 3B1, added 3b1 target to makefile, added to zip.1.
  668. X22. Made FNMAX 256 for MSDOS (is 1024 otherwise).
  669. X23. Used the "pyr" predefined symbol for Pyramid systems in tailor.h.
  670. X24. Added Greg's VMS mods to ship.c.  Added help to ship.c (-h or -?).
  671. X    Changed meaning of -nnn arg from lines to K.
  672. X25. Moved ZMEM routines to fileio.c to properly include them in zipnote and
  673. X    zipsplit.
  674. X26. Added -s option to ship to specify a subject line prefix.
  675. X27. Fixed -z in zip to not trash leading blank lines in the comment.
  676. X28. Made ship recognize "unship" in argv[0] a little more flexibly.
  677. X29. Made sure temporary zip files are closed before being deleted by an
  678. X    error or interrupt.
  679. X30. Added a new temporary file interface and new source files tempf.c and
  680. X    tempf.h.  This avoids making temporary files for small (<16k) output.
  681. X    Both shrink and implode use this.
  682. X31. Added OS/2 patches, files.  However, left zip case-sensitive for OS/2
  683. X    names, as in Unix.
  684. X32. Removed amdahl target in makefile, using UTS symbol instead.
  685. X33. Changed -y to depend on definition of S_IFLNK.
  686. X34. Avoid leading periods on lines in ship output by inserting a space.
  687. X35. Ship is now extensible: added a warning for "unsupported keyword".
  688. X    Such keywords can appear before the "ship" line, for example.
  689. X36. Added -g option to allow "growing" the zip file.  If just adding new
  690. X    entries to a zip file, -g will write over the old zip file without
  691. X    creating a temporary.  The danger is that if there is an error, the
  692. X    old zip file will be lost.  If not just adding, then -g is ignored.
  693. X37. Added aux (A/UX) target to makefile.
  694. X38. In shrink.c, removed unnecessary FreeList and ClearList arrays, and
  695. X    the recursive Prune() routine.  This also resulted in a speedup in
  696. X    shrink of about 15%.  It is now only about 30% slower than Unix compress.
  697. X39. Added -q option for quiet operation.
  698. X------------------------ Sep 21  1991   version 1.0 ------------------------
  699. XHello world!
  700. X
  701. XThis is the first public release version of Zip and its cohort utilities.
  702. XWe hope you enjoy using it much much more than we enjoyed writing it and
  703. Xtrying to get it to work on every fritzing raffing bliffing nobbin Unix
  704. Xsystem in the galaxy.
  705. X
  706. XPlease feel free to send any problems, complaints, suggestions, kudos,
  707. Xridicule, or whatever to zip-bugs@cs.ucla.edu.  If there were a way to
  708. Xsend cookies over the net, we'd accept those too.
  709. X
  710. XThank yew fer yur support.
  711. X
  712. XMark Adler
  713. Xmadler@tybalt.caltech.edu
  714. X
  715. X
  716. XChanges from 0.9 to 1.0:
  717. X
  718. X1.  Removed some pesky carriage returns masquerading as spaces in fileio.c
  719. X    and zipup.c.
  720. X2.  Removed #include memory.h in tempf.c (string.h good enough).
  721. X3.  Compile ship in doturboc.bat.
  722. X4.  Miscellaneous zip.1 (zip.doc) changes.
  723. X5.  Fixed mistake in stamp() in fileio.c (didn't double seconds).
  724. X6.  Applied Jean-Loup's mods for Cray's (do not assume 16-bit shorts).
  725. X7.  Removed pyramid make option, since #ifdef pyr seems to work.
  726. X8.  Added some casts to tempf.c to clean up some warnings.
  727. X9.  Added comment to makefile.exp saying what it is.
  728. X10. Removed length checks in zipup.c to fix problem with using Vax variable
  729. X    record length formats.
  730. X11. Fixed VMS replace-across-devices problem.
  731. X12. Changed order of include's in implode.h to make tailor.h show up first.
  732. X13. Added Convex mods and make target.
  733. X14. Fixed path delimiter under VMS for unship.
  734. X15. Added ship to makevms.com.
  735. X16. Put in new copyright messages.
  736. X17. Added aix make target.
  737. X18. Fixed zipsplit.idx to start counting at one like the file names.
  738. X19. Changed -a (append VMS version number) to -w to leave -a open for a
  739. X    possible future option.
  740. X20. Back to separate makefiles for Microsoft and Borland (.msc and .bor).
  741. X21. Workaround in fileio.c for Borland stat() bug: stat() succeeds for wild
  742. X    card names that match existing files.
  743. X22. Added "(did you remember to use binary mode when you transferred it?)"
  744. X    to the "probably not a zip file" warning.
  745. X23. Changed utilities to append .zip only when the zip file name does not
  746. X    contain a dot.
  747. X24. At least mentioned the other utilities in zip.doc (zipcloak, ship, etc.),
  748. X    and documented upper case matching of names when using -d under MSDOS.
  749. X25. Fixed bug in MSDOS version: zip foo c:autoexec.bat wouldn't work.
  750. X26. Added hidden/system attribute bug to BUGS in zip.1
  751. X27. Fixed recognition of unship in ship when unship is in a path.
  752. X28. Added non-stream-LF VMS bug to zip.1 bug list.
  753. X29. Fixed bug in #23 above when path has dots.  Documented #23 in zip.1.
  754. X30. Show disclaimer only for -l, add -h and -l to zip utilities.
  755. X31. Applied Minix patches.
  756. X------------------------ ??? ??  1992   version 1.1 ------------------------
  757. X??? To be done. Should be the last version supporting shrink and implode.
  758. X
  759. X------------------------ Feb 17  1992   version 1.5 ------------------------
  760. X1.  pkzip 2.0 format (deflation) now supported
  761. X    Shrink and Implode left in zip 1.1 only for backward compatibility
  762. X
  763. X------------------------ Mar 25  1992   version 1.6 ------------------------
  764. X1.  zip can now be used as a filter in a pipe
  765. X2.  Optimized assembler code for MSDOS and OS/2
  766. X3.  encryption is now supported
  767. X4.  Better VMS support for various file formats other than Stream-LF
  768. X5.  Better OS/2 support
  769. X------------------------ Apr 24  1992   version 1.7a ------------------------
  770. X1.  On VMS, create new zip files in fixed length 512 format
  771. X2.  Call VMSmunch only if the zip file existed previously
  772. X3.  Avoid mktemp() and use simpler name for temporary file.
  773. X4.  Rename dir_os2.[ch] -> os2zip.[ch]
  774. X5.  On MSDOS, use fdopen() after setmode() in zip.c
  775. X    Added setmode() for stdin in zipup.c
  776. X6.  Do not split #if on two lines (some compilers don't like this)
  777. X7.  __MSDOS__ instead of __BORLANDC__ in crypt.c
  778. X8.  Added (char*) cast in deflate.c to avoid warning
  779. X9.  OS/2 support for storing file attributes in an extra field.
  780. X
  781. X------------------------ June 6  1992   version 1.8a ------------------------
  782. X1.  Fixed bug in tempname() for VMS
  783. X2.  Fixed type problems in zipup.c for gcc under VMS
  784. X3.  Added VMSmunch in vms subdirectory and updated makefile (descrip.mms)
  785. X4.  The extra field for OS/2 is now compressed (Kai Uwe Rommel)
  786. X5.  Added various fixes for djgcc (Onno van der Linden)
  787. X6.  Fixed long standing bug in wild() for MSDOS (Jon Saxton)
  788. X7.  Added support for ZIPOPT environment variable (Bill Davidsen
  789. X    and Antoine Verheijen).
  790. X8.  Fixed zipsplit bug for VMS (Greg Roelofs)
  791. X9.  Added fix for DEC OSF/1 (Kjetil W. J{\o}rgensen)
  792. X10. Added fix for ultrix on DECstation (Jonathan Kamens)
  793. X10. Added sysnopis for zipsplit, etc... in zip.1 (Jonathan Kamens)
  794. X11. Fixed MAILX problem for SysV in ship.c (Greg Roelofs)
  795. X12. Added Linux support (Humberto Ortiz-Zuazaga)
  796. X13. In makefile.os2, support for $(FP), masm 5.x, match.s (Greg & Kai)
  797. X14. Added -w-cln in makefile.bor to avoid warning (David Kirschbaum)
  798. X15. VMS echo suppression code incorporated (Greg Roelofs)
  799. X16. Added fix to match.asm if WSIZE != 32768
  800. X17. Create .exe files directly for target scodos (Bill Davidsen)
  801. X18. Fixed the -0 bug (compressed size was doubled)
  802. X19. Changed -- (read names from stdin) to -@ to reserve -- for undoing
  803. X    the effects of ZIPOPT
  804. X20. Create zip entries for directories with the -r option, so that
  805. X    directory attributes can be saved. (Kai Uwe Rommel)
  806. X
  807. X------------------------ June 17  1992   version 1.8b ------------------------
  808. X1.  Changed -s (Software license) to -L (license) to avoid clash
  809. X    with the old shrink option.
  810. X2.  read_buf declared as extern only in zip.h
  811. X3.  avoid warnings in zip.c for Turbo C: while ((ch = *s) != '\0'
  812. X4.  suppressed unused variables mem_inbuf and mem_outbuf in bits.c
  813. X5.  Speed up the search for start of zip structures (pksfx files)
  814. X6.  Allow updates of an empty pksfx file (original file was destroyed)
  815. X7.  Keep correct offsets for pksfx files
  816. X8.  On MSDOS, in2ex() was updating the input argument. Also, do not
  817. X    force upper case: keep the name as it was in the old zip file.
  818. X    This is important for -f. Similarly, force lower case in ex2in()
  819. X    on MSDOS, except when dosify (-k) is imposed. I kept however the
  820. X    old code under the flag FORCE_UPPER in case I goofed.
  821. X9.  When growing a zip file with -g and interrupting it, the whole file was
  822. X    lost. We now attempt to restore the previous state of the file.
  823. X10. "zip -fo jjj", where jjj is a non-existent zipfile, used to dump core.
  824. X    We now emit a warning.
  825. X11. More generally, we emit a warning for all options assuming the presence
  826. X    of a zip file (-d,-f,-u,-g) if the zip file did not exist or was empty.
  827. X    Idem for "zip -o jjj" on non-existent or empty zip file.
  828. X12. Copy also the extended local entry in zipcopy().
  829. X13. Updated zip.1 and vms/vms_zip.rnh to describe the new features.
  830. X14. Fixed bug in zipsplit (wrong offsets for all files but first)
  831. X15. Added match.s, optimized 386 version of longest_match() for Unix and
  832. X    32 bit OS/2 (with gas).
  833. X16. Added os2/match32.asm, optimized 386 version of longest_match() for
  834. X    32 bit OS/2 (for assemblers using Intel syntax). NOT TESTED YET.
  835. X17. Added "assume DS: DGROUP" in match.asm to allow SS_NEQ_DS even with MSC.
  836. X18. Added include <malloc.h> in tailor.h for Unix. This is required on
  837. X    16-bit Unix.
  838. X19. Use init_upper() in os2zip.[ch]
  839. X20. Switched back to old tempname(): the new one could overwrite an existing
  840. X    file, it ignored tempath, and it caused problems on VMS for files with a
  841. X    '.' in the name. Kept however the old code if NO_MKTEMP is defined.
  842. X21. Use 0x1 instead of (unsigned)1 in definition of HSIZE (one compiler
  843. X    does not like the cast in an array definition).
  844. X22. Include VMSmunch.h in zip.c
  845. X23. On VMS, zip -o screwed up all offsets in pksfx files
  846. X
  847. X------------------------ June 18  1992   version 1.8c ------------------------
  848. X1.  Added missing comma in revision.h
  849. X2.  invlocal doesn't work on Cray, use mktime instead (Greg Roelofs)
  850. X3.  On VMS, use ctx=stm only to read zipfiles, not input files.
  851. X4.  Undo change 21 above, which breaks even more compilers
  852. X5.  Include dos.h in util.c and fix trivial compilation errors
  853. X6.  Undo change 1 of 1.8b: -L already used for OS/2 (Steve Salisbury)
  854. X7.  Do not create a zip entry for directory "." (Greg Roelofs)
  855. X8.  Avoid core dump when -@ is given before the zip file (and do
  856. X    the right thing).
  857. X
  858. X------------------------ June 19  1992   version 1.8d ------------------------
  859. X1.  Force calloc to take unsigned values. (Problem with one 16 bit
  860. X    compiler on AT&T 6300).
  861. X2.  Fixed fileio.c for Convex (Bill Davidsen)
  862. X3.  util_ was missing for zipnote and zipsplit in make_vaxc.com (Glenn Andrews)
  863. X4.  Added warning in zip.1 and below (do not update encrypted files
  864. X    with pkzip 1.10).
  865. X5.  Fixed fix 12 of 1.8b. I drink too much. (Confused bit 1 with bit 8).
  866. X6.  Updated install.doc
  867. X7.  Fixed result type of os2 version of init_upper().
  868. X8.  Added makefile entry for AT&T 6300 (Peter Mauzey)
  869. X9.  Fixed typo in descrip.mms
  870. X10. Removed zipfile.c warning: shift count exceeds width of value shifted
  871. X11. Fix enormous bug in init_upper for VMS (upper stayed as zero)
  872. X
  873. X------------------------ June 23  1992   version 1.8e ------------------------
  874. X1.  Don't include malloc.h by default (does not exist on VMS)
  875. X2.  Define calloc for 16 bit systems (required for AT&T 6300)
  876. X3.  Simpler make_vaxc.com (Greg Roelofs)
  877. X4.  New vms/descrip.mms and fixes in zipfile.c (Igor)
  878. X5.  seekable() must be true for in-memory compression.
  879. X6.  Undefine S_IFLNK if NO_SYMLINK (problems with VMS and SCO)
  880. X7.  Include descrip.h only once in fileio.c (Mike Freeman)
  881. X8.  New os2/match32.asm (untested) and makefile.os2.
  882. X9.  Added dosflag in zlist and flist entries, to force MSDOS file
  883. X    attributes. It is set if dosify is set, or (under OS/2) for a file
  884. X    on a FAT file system which does not have a long name (Kai-Uwe).
  885. X10. Added GetFileTime on OS/2 to avoid core dump on bad dates (Kai-Uwe)
  886. X11. New vms.c supporting deflation of extra headers
  887. X
  888. X------------------------ June 24  1992   version 1.8f ------------------------
  889. X1.  Incorporated (finally!) Mac support. *Untested*. (James E. O'Dell)
  890. X2.  Another long awaited change: Atari ST. Also *untested*.
  891. X    (martin@atlantic.cs.unb.ca)
  892. X3.  New makefile.os2, as usual. (Kai-Uwe)
  893. X4.  Support for Watcom C in os2zip.c. *Not yet working*. (Kai-Uwe).
  894. X5.  I forgot to output the length for stored blocks...
  895. X
  896. X------------------------ June 29  1992   version 1.8g ------------------------
  897. X1.  New os2zip.c and makefile.os2 as usual.
  898. X2.  In the VMS makefiles, define the symbols systematically so that
  899. X    people won't forget to update them. (Fed up with the reports that
  900. X    zip does not accept parameters).
  901. X3.  Use -L for software License and -E for Extended attributes
  902. X4.  Added -F 1000 in makefile entry for scodos (Bill Davidsen)
  903. X5.  Replaced strcmp with namecmp in zip.c for check of zipfile name.
  904. X6.  New os2/match32.asm (still not working)
  905. X7.  Do not close stdin (check for null ifile in zipup.c).
  906. X8.  signal handlers for zip and zipcloak fixed to restore echo for VMS
  907. X9.  slightly cleaner VMS echo calls in fileio.c
  908. X10. stricmp missing from VMS zipsplit, zipnote:  since UTIL was unused for
  909. X    util.c, I used it to specify stricmp only; then I had to change some of
  910. X    the makefiles which previously used util_.* to use util.*, and I added
  911. X    util_.obj to OBJS and OBJN in all of the VMS makefiles. (Greg)
  912. X11. ifdef'd out the debugging commentary in vms.c (Greg)
  913. X12. new VMS makefile for use with (free) MAKE/VMS (Greg)
  914. X13. Eliminate some compiler warnings from BCC, MSC, gcc (Onno van der Linden)
  915. X14. Do not use MSDOS version of init_upper for djgpp (Onno van der Linden)
  916. X15. In msdos/makefile.gcc, added util_.o to OBJN and OBJS, and used asm version
  917. X    match.o (Onno van der Linden)
  918. X16. Added install target in makefile (Alvin Koh)
  919. X17. Default makefile entry is named 'all'.
  920. X18. fixes to vms.c for gcc (Igor)
  921. X19. Define S_IWRITE as S_IWUSR for Minix only (problem on X/OS) (Fulvio Marino)
  922. X20. Added xos makefile entry  (Fulvio Marino)
  923. X21. In VMS, files without an extension are now stored without the dot (Greg
  924. X    and Igor).
  925. X22. Save/restore ebx in match.s and match32.asm
  926. X23. Fixed MAX_DIST in match.s (the asm code produced different results
  927. X    than the C code)
  928. X24. Fixed the -b option: allow ENOTSAM instead of EXDEV (used by Turbo C).
  929. X25. Do not complain about zip files created on MSDOS with versions of zip
  930. X    above 1.0.
  931. X
  932. X------------------------ Aug 14  1992   version 1.9a ------------------------
  933. X1.  Changed -S to -L in help screen
  934. X2.  Do not declare chmod for aegis (George Grimes)
  935. X3.  Cleaner vms/make_gcc.com (Mike Freeman)
  936. X4.  Disabled built-in functions for Linux (Arnt Gulbrandsen)
  937. X5.  Added a description of the deflation algorithm in algorith.doc.
  938. X6.  Removed ship, now distributed separately.
  939. X7.  Added the CRC for in-memory compression. The extra-field format is now
  940. X    the official PKWare format (Kai-Uwe)
  941. X8.  On OS/2, force lower case names for FAT files if -k is not given. (Kai-Uwe)
  942. X9.  Allow coutry dependent mapping for upper to lower case. (Kai-Uwe)
  943. X10. Use namecmp instead of stricmp which was confusing. (Onno van der Linden)
  944. X11. Avoid some warnings in deflate.c (Onno van der Linden)
  945. X12. Avoid one warning in crypt.c, and distribute it separately.
  946. X13. Call init_upper() for all utilities and add util_.o in makefiles (Kai-Uwe)
  947. X
  948. X------------------------ Aug 18  1992   version 1.9b ------------------------
  949. X1.  Fixes for Windows NT (Dave Feinleib)
  950. X2.  Avoid two warnings for Ultrix (makefile and fileio.c)
  951. X3.  Finally removed the declaration of chmod(), which causes endless
  952. X    new patches for each new target.
  953. X4.  Allow -L for license in the utilities (zipsplit, zipnote, zipcloak).
  954. X5.  Mention funzip in zip.1.
  955. X6.  Untabify all sources files (for more reliable context diffs)
  956. X7.  Fix bug in trees.c dealing with bit length overflow.
  957. X8.  Fix bug in zipup.c when reading from stdin: if (ifile) does not
  958. X    produce the expected result.
  959. X9.  Avoid duplication of bug list in zip.1 and history.
  960. X10. Removed ship from zip.1.
  961. X
  962. X------------------------ Aug 20  1992   version 1.9 ------------------------
  963. X1.  Renamed the atari files to avoid name conflicts (for unzip -j).
  964. X2.  Don't tell 'use zip -L' in zipnote and zipsplit.
  965. X3.  Add a rule for util_.ojb in the msdos and atari makefiles
  966. X4.  Fixed compilation option for util_.obj in makefile.msc (msc 5.1 bug)
  967. X5.  Added the 'Where' file.
  968. X6.  More information about zip in Readme.
  969. X7.  Fixed install.doc.
  970. X8.  Fixed vms/vms_zip.rnh
  971. X9.  Fixed init_upper() in util.c and os2zip.c (Kai-Uwe)
  972. X
  973. X
  974. XThings to check or to be done (see also BUGS section in zip.1):
  975. X
  976. X- zip should not create 'stored' files with extended local headers
  977. X
  978. X- There is not (yet) a way to undo the effect of ZIPOPT
  979. X
  980. X- Under MSDOS, zip will find hidden and system files, but not set the
  981. X  attributes appropriately in the zip file so that unzip can restore them.
  982. X
  983. X- it is possible in weird cases to add a zipfile to itself
  984. X
  985. X- On OS/2, zip refuses to match some names, such as those beginning with an
  986. X  exclamation mark. Same for names starting with #, possibly more.
  987. END_OF_FILE
  988.   if test 49244 -ne `wc -c <'history'`; then
  989.     echo shar: \"'history'\" unpacked with wrong size!
  990.   fi
  991.   # end of 'history'
  992. fi
  993. if test ! -d 'mac' ; then
  994.     echo shar: Creating directory \"'mac'\"
  995.     mkdir 'mac'
  996. fi
  997. if test ! -d 'msdos' ; then
  998.     echo shar: Creating directory \"'msdos'\"
  999.     mkdir 'msdos'
  1000. fi
  1001. if test ! -d 'nt' ; then
  1002.     echo shar: Creating directory \"'nt'\"
  1003.     mkdir 'nt'
  1004. fi
  1005. if test ! -d 'os2' ; then
  1006.     echo shar: Creating directory \"'os2'\"
  1007.     mkdir 'os2'
  1008. fi
  1009. if test -f 'tailor.h' -a "${1}" != "-c" ; then 
  1010.   echo shar: Will not clobber existing file \"'tailor.h'\"
  1011. else
  1012.   echo shar: Extracting \"'tailor.h'\" \(6875 characters\)
  1013.   sed "s/^X//" >'tailor.h' <<'END_OF_FILE'
  1014. X/* tailor.h -- Not copyrighted 1992 Mark Adler */
  1015. X
  1016. X/* const's are inconsistently used across ANSI libraries--kill for all
  1017. X   header files. */
  1018. X#ifndef __GO32__
  1019. X#  define const
  1020. X#endif
  1021. X
  1022. X
  1023. X/* Define MSDOS for Turbo C as well as Microsoft C */
  1024. X#ifdef __POWERC                 /* For Power C too */
  1025. X#  define __TURBOC__
  1026. X#endif /* __POWERC */
  1027. X#if (defined(__TURBOC__) && !defined(MSDOS))
  1028. X#  define MSDOS
  1029. X#endif
  1030. X
  1031. X#ifdef ATARI_ST
  1032. X#  undef MSDOS   /* avoid the MS-DOS specific includes */
  1033. X#endif
  1034. X
  1035. X/* Use prototypes and ANSI libraries if _STDC__, or Microsoft or Borland C,
  1036. X * or Silicon Graphics, or IBM C Set/2, or GNU gcc under emx.
  1037. X */
  1038. X#if (defined(__STDC__) || defined(MSDOS) || defined(sgi))
  1039. X#  ifndef PROTO
  1040. X#    define PROTO
  1041. X#  endif /* !PROTO */
  1042. X#  define MODERN
  1043. X#endif /* MSDOS */
  1044. X
  1045. X#if (defined(__IBMC__) || defined(__EMX__) || defined(ATARI_ST))
  1046. X#  ifndef PROTO
  1047. X#    define PROTO
  1048. X#  endif /* !PROTO */
  1049. X#  define MODERN
  1050. X#endif
  1051. X
  1052. X
  1053. X#ifdef __IBMC__
  1054. X#  define S_IFMT 0xF000
  1055. X#endif /* __IBMC__ */
  1056. X
  1057. X#ifdef __EMX__
  1058. X#  define __32BIT__
  1059. X#endif /* __EMX__ */
  1060. X
  1061. X#ifdef __WATCOMC__
  1062. X#  define __32BIT__
  1063. X#endif
  1064. X
  1065. X#if (defined(__OS2__) && !defined(OS2))
  1066. X#  define OS2
  1067. X#endif
  1068. X
  1069. X
  1070. X/* Turn off prototypes if requested */
  1071. X#if (defined(NOPROTO) && defined(PROTO))
  1072. X#  undef PROTO
  1073. X#endif
  1074. X
  1075. X
  1076. X/* Used to remove arguments in function prototypes for non-ANSI C */
  1077. X#ifdef PROTO
  1078. X#  define OF(a) a
  1079. X#else /* !PROTO */
  1080. X#  define OF(a) ()
  1081. X#endif /* ?PROTO */
  1082. X
  1083. X
  1084. X/* Memory allocation. */
  1085. X#ifdef MACOS
  1086. X#  define DYN_ALLOC
  1087. X#endif
  1088. X#if (defined(MSDOS) && !defined(__GO32__) && !defined(WIN32))
  1089. X#  ifdef __TURBOC__
  1090. X#    include <alloc.h>
  1091. X#    define DYN_ALLOC
  1092. X     /* Turbo C 2.0 does not accept far static allocations in small model */
  1093. X     void far * fcalloc OF((unsigned items, unsigned size));
  1094. X#  else /* !__TURBOC__ */
  1095. X#    include <malloc.h>
  1096. X#    define farmalloc _fmalloc
  1097. X#    define farfree   _ffree
  1098. X#    define fcalloc(nitems,itemsize) halloc((long)(nitems),(itemsize))
  1099. X#  endif /* ?__TURBOC__ */
  1100. X#else /* !MSDOS */
  1101. X#  if defined(WIN32)
  1102. X#    include <malloc.h>
  1103. X#  endif
  1104. X#  ifdef far
  1105. X#    undef huge
  1106. X#    undef far
  1107. X#    undef near
  1108. X#  endif
  1109. X#  define huge
  1110. X#  define far
  1111. X#  define near
  1112. X#  define farmalloc malloc
  1113. X#  define farfree   free
  1114. X#  define fcalloc(items,size) calloc((unsigned)(items), (unsigned)(size))
  1115. X#  ifndef PROTO
  1116. X     extern char *calloc(); /* essential for 16 bit systems (AT&T 6300) */
  1117. X#  endif
  1118. X#endif /* ?MSDOS */
  1119. X
  1120. X
  1121. X#if (defined(OS2) && !defined(MSDOS))
  1122. X/* MSDOS is defined anyway with MS C 16-bit. So the block above works.
  1123. X * For the 32-bit compilers, MSDOS must not be defined in the block above. */
  1124. X#  define MSDOS
  1125. X/* inherit MS-DOS file system etc. stuff */
  1126. X#endif
  1127. X    
  1128. X
  1129. X/* Define MSVMS if either MSDOS or VMS defined */
  1130. X#if defined(MSDOS) || defined(VMS)
  1131. X#  define MSVMS
  1132. X#endif
  1133. X
  1134. X/* case mapping functions. case_map is used to ignore case in comparisons,
  1135. X * to_up is used to force upper case even on Unix (for dosify option).
  1136. X */
  1137. X#if defined(OS2) || defined(MSDOS) || defined(VMS)
  1138. X#  define case_map(c) upper[c]
  1139. X#  define to_up(c)    upper[c]
  1140. X#else
  1141. X#  define case_map(c) (c)
  1142. X#  define to_up(c)    ((c) >= 'a' && (c) <= 'z' ? (c)-'a'+'A' : (c))
  1143. X#endif
  1144. X
  1145. X/* Define void, voidp, and extent (size_t) */
  1146. X#include <stdio.h>
  1147. X#ifdef MODERN
  1148. X#  if (!defined(M_XENIX) && !(defined(__GNUC__) && defined(sun)))
  1149. X#    include <stddef.h>
  1150. X#  endif /* !M_XENIX */
  1151. X#  include <stdlib.h>
  1152. X   typedef size_t extent;
  1153. X   typedef void voidp;
  1154. X#else /* !MODERN */
  1155. X   typedef unsigned int extent;
  1156. X#  define void int
  1157. X   typedef char voidp;
  1158. X#endif /* ?MODERN */
  1159. X
  1160. X/* Get types and stat */
  1161. X#ifdef VMS
  1162. X#  include <types.h>
  1163. X#  include <stat.h>
  1164. X#else /* !VMS */
  1165. X#  ifdef MACOS
  1166. X#    include <types.h>
  1167. X#    include <stddef.h>
  1168. X#    include <Files.h>
  1169. X#    include <StandardFile.h>
  1170. X#    include <Think.h>
  1171. X#    include <LoMem.h>
  1172. X#    include <Pascal.h>
  1173. X#    include "macstat.h"
  1174. X#  else
  1175. X#    ifdef ATARI_ST
  1176. X#      include <ext.h>
  1177. X#      include <tos.h>
  1178. X#    else
  1179. X#      include <sys/types.h>
  1180. X#      include <sys/stat.h>
  1181. X#    endif
  1182. X#  endif
  1183. X#endif /* ?VMS */
  1184. X
  1185. X/* Some systems define S_IFLNK but do not support symbolic links */
  1186. X#if defined (S_IFLNK) && (defined(NO_SYMLINK) || defined(MACOS))
  1187. X#  undef S_IFLNK
  1188. X#endif
  1189. X
  1190. X/* Cheap fix for unlink on VMS */
  1191. X#ifdef VMS
  1192. X#  define unlink delete
  1193. X#endif /* VMS */
  1194. X
  1195. X
  1196. X/* For Pyramid */
  1197. X#ifdef pyr
  1198. X#  define strrchr rindex
  1199. X#  define ZMEM
  1200. X#endif /* pyr */
  1201. X
  1202. X
  1203. X/* File operations--use "b" for binary if allowed or fixed length 512 on VMS */
  1204. X#ifdef VMS
  1205. X#  define FOPR  "r","ctx=stm"
  1206. X#  define FOPM  "r+","ctx=stm","rfm=fix","mrs=512"
  1207. X#  define FOPW  "w","ctx=stm","rfm=fix","mrs=512"
  1208. X#else /* !VMS */
  1209. X#  ifdef MODERN
  1210. X#    define FOPR "rb"
  1211. X#    define FOPM "r+b"
  1212. X#    define FOPW "wb"
  1213. X#  else /* !MODERN */
  1214. X#    define FOPR "r"
  1215. X#    define FOPM "r+"
  1216. X#    define FOPW "w"
  1217. X#  endif /* ?MODERN */
  1218. X#endif /* VMS */
  1219. X
  1220. X/* Open the old zip file in exclusive mode if possible (to avoid adding
  1221. X * zip file to itself).
  1222. X */
  1223. X#ifdef OS2
  1224. X#  define FOPR_EX FOPM
  1225. X#else
  1226. X#  define FOPR_EX FOPR
  1227. X#endif
  1228. X
  1229. X/* Define this symbol if your target allows access to unaligned data.
  1230. X * This is not mandatory, just a speed optimization. The compressed
  1231. X * output is strictly identical.
  1232. X */
  1233. X#if defined(MSDOS) || defined(i386) || defined(mc68020) || defined(vax)
  1234. X#   define UNALIGNED_OK
  1235. X#endif
  1236. X
  1237. X
  1238. X/* Under MSDOS we may run out of memory when processing a large number
  1239. X * of files. Compile with MEDIUM_MEM to reduce the memory requirements or
  1240. X * with SMALL_MEM to use as little memory as possible.
  1241. X */
  1242. X#ifdef SMALL_MEM
  1243. X#   define CBSZ 2048 /* buffer size for copying files */
  1244. X#   define ZBSZ 2048 /* buffer size for temporary zip file */
  1245. X#else
  1246. X# ifdef MEDIUM_MEM
  1247. X#   define CBSZ 8192
  1248. X#   define ZBSZ 8192
  1249. X# else
  1250. X#  if defined(OS2) && !defined(M_I86SM)
  1251. X#   define CBSZ 0xE000
  1252. X#   define ZBSZ 0x7F00
  1253. X    /* The C library of some compilers does not allow a buffer size > 32K */
  1254. X#  else
  1255. X#   define CBSZ 16384
  1256. X#   define ZBSZ 16384
  1257. X#  endif
  1258. X# endif
  1259. X#endif
  1260. X
  1261. X#ifdef ATARI_ST
  1262. X#  define MSDOS
  1263. X#  define MSVMS
  1264. X#  ifndef O_BINARY
  1265. X#    define O_BINARY 0
  1266. X#  endif
  1267. X#  ifndef S_IFMT
  1268. X#    define S_IFMT        (S_IFCHR|S_IFREG|S_IFDIR)
  1269. X#  endif
  1270. X
  1271. X/* a whole bunch of functions needs Tos '\\' filnames
  1272. X * instead of '/',  the translation functions are in fileio.c:
  1273. X */
  1274. X#  define unlink    st_unlink
  1275. X#  define chmod     st_chmod
  1276. X#  define mktemp    st_mktemp
  1277. X#  define fopen     st_fopen
  1278. X#  define open      st_open
  1279. X#  define SSTAT     st_stat
  1280. X#  define findfirst st_findfirst
  1281. X#  define link      st_rename
  1282. X#  define rmdir     st_rmdir
  1283. X
  1284. X  int st_unlink    OF((char *));
  1285. X  int st_chmod     OF((char *, int));
  1286. X  char *st_mktemp  OF((char *));
  1287. X  FILE *st_fopen   OF((char *, char *));
  1288. X  int st_open      OF((char *, int));
  1289. X  int st_stat      OF((char *, struct stat *));
  1290. X  int st_findfirst OF((char *, struct ffblk *, int));
  1291. X  int st_rename    OF((char *, char *));
  1292. X  int st_rmdir     OF((char *));
  1293. X#else
  1294. X#  define SSTAT      stat
  1295. X#endif
  1296. X   
  1297. X/* end of tailor.h */
  1298. END_OF_FILE
  1299.   if test 6875 -ne `wc -c <'tailor.h'`; then
  1300.     echo shar: \"'tailor.h'\" unpacked with wrong size!
  1301.   fi
  1302.   # end of 'tailor.h'
  1303. fi
  1304. if test ! -d 'vms' ; then
  1305.     echo shar: Creating directory \"'vms'\"
  1306.     mkdir 'vms'
  1307. fi
  1308. echo shar: End of archive 1 \(of 11\).
  1309. cp /dev/null ark1isdone
  1310. MISSING=""
  1311. for I in 1 2 3 4 5 6 7 8 9 10 11 ; do
  1312.     if test ! -f ark${I}isdone ; then
  1313.     MISSING="${MISSING} ${I}"
  1314.     fi
  1315. done
  1316. if test "${MISSING}" = "" ; then
  1317.     echo You have unpacked all 11 archives.
  1318.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  1319. else
  1320.     echo You still must unpack the following archives:
  1321.     echo "        " ${MISSING}
  1322. fi
  1323. exit 0
  1324. exit 0 # Just in case...
  1325.